package tripx.site;

import tripx.sql.QueryObject;

public class DbSite extends QueryObject {

	private int sid; // site id

	public String sname; // site name

	public int cid; // city id

	public String intro;

	public String address; // site address

	public String phone; // site phone number

	public int score; // score of the site
	
	public int evanum;

	public DbSite(String sname, int cid, String intro, String address,
			String phone) {
		this(-1, sname, cid, intro, address, phone, 0, 0);
	}

	public DbSite(int sid, String sname, int cid, String intro, String address,
			String phone, int score, int evanum) {
		this.sid = sid;
		this.sname = sname;
		this.cid = cid;
		this.intro = intro;
		this.address = address;
		this.phone = phone;
		this.score = score;
		this.evanum = evanum;
	}

	public int getSiteId() {
		return sid;
	}
}
